LC_EVENT_GRIPMOVE Home

LiteCAD generates LC_EVENT_GRIPMOVE event when a user have been moved the object grip.
The following properties are used for this event type:

Property Description
LC_PROP_EVENT_TYPE Value LC_EVENT_GRIPMOVE
LC_PROP_EVENT_WND Handle to LiteCAD window
LC_PROP_EVENT_ENTITY Handle to the entity which contains the moved grip
LC_PROP_EVENT_FLOAT1
LC_PROP_EVENT_FLOAT2
X,Y coordinates of the new grip position (drawing coordinate space)
LC_PROP_EVENT_INT1 Index of the grip
LC_PROP_EVENT_INT2 Grip type
LC_PROP_EVENT_INT3 State of Shift key: 1-pressed, 0-released
LC_PROP_EVENT_INT4 State of Ctrl key: 1-pressed, 0-released

If grip type is LC_GRIP_CENROT or LC_GRIP_ANGLE:

LC_PROP_EVENT_FLOAT3
LC_PROP_EVENT_FLOAT4
X,Y coordinates of rotation center-point
LC_PROP_EVENT_FLOAT5 New angle of the grip

For other grip types:

LC_PROP_EVENT_FLOAT3
LC_PROP_EVENT_FLOAT4
X,Y coordinates of the new grip's position